package com.example.child_protection.service;

import com.example.child_protection.dto.base.BaseResponseDTO;
import com.example.child_protection.dto.request.SimpleIdRequestDTO;
import com.example.child_protection.dto.request.add.SystemRoleButtonInsertRequestDTO;
import com.example.child_protection.dto.request.update.SystemRoleButtonUpdateRequestDTO;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 科室管理service
 * @date 2018-11-2
 * @author Biz
 */
@Service
@Transactional
public interface SystemRoleButtonManageService {

    /**
     * 添加
     * @param requestDTO
     * @return
     */
    public BaseResponseDTO insert(SystemRoleButtonInsertRequestDTO requestDTO);

    /**
     * 修改
     * @param requestDTO
     * @return
     */
    public BaseResponseDTO update(SystemRoleButtonUpdateRequestDTO requestDTO);

    /**
     * 删除
     * @param requestDTO
     * @return
     */
    public BaseResponseDTO delete(SimpleIdRequestDTO requestDTO);

}
